<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>用户中心</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="../css/feedback-page.css" />
		<link rel="stylesheet" type="text/css" href="../css/tab-main.css"/>
		<link rel="stylesheet" type="text/css" href="../css/setting.css"/>
		<link rel="stylesheet" type="text/css" href="../css/icons-extra.css"/>
		<link rel="stylesheet" type="text/css" href="../css/app.css"/>
		<link rel="stylesheet" type="text/css" href="../css/qr.css"/>
		<link rel="stylesheet" type="text/css" href="../css/rest.css"/>
		
	</head>

	<body>
		<!--页面主结构开始-->
		<div id="app" class="mui-views" >
			<div class="mui-view">
				<div class="mui-navbar" >
				</div>
				<div class="mui-pages">
				</div>
			</div>
		</div>
		<!--页面主结构结束-->
		<!--单页面开始-->
		<div id="setting" class="mui-page">
			<!--页面标题栏开始-->
			<div class="mui-navbar-inner mui-bar mui-bar-nav" >
				<button type="button" class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">
					<a href="index1.html">
						<span>
							<?xml version="1.0" encoding="utf-8"?>
							<svg version="1.1" width="25" height="25" style="margin-top: 10px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve" fill="white">
							<g><g transform="matrix(1 0 0 -1 0 1008)"><path d="M241.9,508l490,490l26.3-26.3L294.4,508L758.1,44.3L731.9,18L241.9,508z"/></g></g>
							</svg>
						</span>	
					</a>
				</button>
				<h1 class="mui-center mui-title" style="border-bottom: 0px; color: white;">ART+</h1>
			</div>
			<!--页面标题栏结束-->
			<!--页面主内容区开始-->
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<div class="setting-touxiang">
							<div class="setting">
								<div class="touxiang">
								<img src="../images/touxiang.png"/>
							    </div>
						    </div>
							<p class="pp">MISS DX</p>
							<p>粉丝1200</p>
						</div>
						<div class="qr">
							<img src="../images/id.png" alt="二维码"  width="200px" height="200px"/>
						</div>
					</div>
				</div>
			</div>
			<!--页面主内容区结束-->
				<!--底部选项卡-->
				<nav class="mui-bar mui-bar-tab">
					<a id="defaultTab" class="mui-tab-item mui-active" href="index1.html">
						    <?xml version="1.0" encoding="utf-8"?>
							<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
							<svg version="1.1" fill="white"  width="30" height="30" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
							<g><path d="M978.1,549.6c-15.9,15.9-41.7,15.9-57.6,0l-420.2-419L148.9,481.1h25.5c44.9,0,81.4,36.5,81.4,81.4v43.2h0.1l0.2,245.1c2.7,26.4,12,33.7,41.1,35.7c35.9-2.6,39.8-13.7,40.2-58.7l-0.2-103.4c0.4-44.6,36.6-80.6,81.3-80.6h40.7v-1l81.4-0.1v1.1h40.7c45,0,81.4,36.4,81.4,81.4v43.3h0.1l0.1,51.2l0.1-13.7c0,63.8-0.4,77.4,40.3,80.4c34.3-2.7,39.9-13.2,40.8-52.9l-0.4,53.4h0.6l-0.1-67.5c0,5.1-0.1,9.8-0.2,14.2l0.2-23.8l-0.3-249.1c0-22.5,18.2-40.7,40.7-40.7c22.5,0,40.7,18.2,40.7,40.7l0.3,283h-0.3v43.2c0,44.9-36.4,81.4-81.4,81.4h-40.7h-40.7c-43.8,0-79.3-34.7-81.1-78.1l-0.2-104.9l-0.4-16.2c0.2,2.1,0.2,4.6,0.3,7l-0.1-51.8H559l21.2,0.2l1,44.7c-2.5-35.8-12.4-43.3-49.3-44.8l-67.3,0.1c-34.2,1.7-43.3,9.3-45.8,41.1l0.9-41h-1.1l0.1,42.5c0-0.5,0.1-1,0.1-1.4l-0.1,5.2l0.1,73h-0.3v43.2c0,44.9-36.4,81.4-81.4,81.4h-40.7h-40.7c-43.8,0-79.2-34.6-81-77.9l-0.3-329l-17.2,0l16,0.1l0.4,54.4c-0.9-43.6-7.2-52.6-46.3-54.5l-73.4,0.2c-11.4,0.9-23.1-2.6-31.9-11.3C6,534.4,6,508.6,21.9,492.7L468.3,47.6c1-1.2,1.4-2.7,2.6-3.9c15.9-15.9,41.7-15.9,57.6,0l0.6,0.6c0,0,0.1,0,0.1,0c0,0,0,0,0,0.1l448.9,447.6C994,508,994,533.8,978.1,549.6z"/></g>
							</svg>
					</a>
					<a class="mui-tab-item" href="tab-webview-subpage-chat.html">
						 <?xml version="1.0" encoding="utf-8"?>
						<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
						<svg version="1.1" fill="white"  width="30" height="30" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
						<g><path d="M500,990c-86.1,0-170.9-22.7-245-65.6c-14.6-8.5-19.6-27.2-11.2-41.8c8.5-14.6,27.2-19.6,41.8-11.2c64.8,37.5,138.9,57.3,214.3,57.3c236.4,0,428.8-192.3,428.8-428.8c0-236.4-192.3-428.8-428.8-428.8C263.6,71.3,71.3,263.6,71.3,500c0,98.8,34.4,195.2,96.9,271.5c10.7,13.1,8.8,32.4-4.3,43.1c-13.1,10.7-32.4,8.8-43.1-4.3C49.3,723.1,10,612.9,10,500C10,229.8,229.8,10,500,10c270.2,0,490,219.8,490,490C990,770.2,770.2,990,500,990z"/><path d="M285.6,500l168.4,168.4L285.6,500z"/><path d="M729.7,392.8L454.1,668.4L729.7,392.8z"/><path d="M760.3,530.6H239.7c-16.9,0-30.6-13.7-30.6-30.6s13.7-30.6,30.6-30.6h520.6c16.9,0,30.6,13.7,30.6,30.6S777.2,530.6,760.3,530.6z"/><path d="M500,790.9c-16.9,0-30.6-13.7-30.6-30.6V239.7c0-16.9,13.7-30.6,30.6-30.6s30.6,13.7,30.6,30.6v520.6C530.6,777.2,516.9,790.9,500,790.9z"/></g>
						</svg>
					</a>
					<a class="mui-tab-item" href="tab-webview-subpage-contact.html">
						 <?xml version="1.0" encoding="utf-8"?>
						<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
						<svg version="1.1" fill="white"  width="30" height="30" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
						<g><path d="M968.7,340.2c-11.8,0-21.3,9.5-21.3,21.3v345.7c0,59.2-27.3,123-87.2,123h-686c-60.2,0-121.5-62.1-121.5-123V282.5c0-32.3,18.3-63.5,45.3-84.9c3.8-0.4,7.5-1.4,10.8-3.8c14.5-11,37.7-24.1,65.5-24.1h666.7h19.3c20,0,35.9,7.1,40.5,17.9c4.3,10.4-1.9,25.6-16.6,40.8l-304.3,246c-0.6,0.5-1.1,1-1.7,1.5c-20.6,20.6-48.1,32-77.3,32c-29.2,0-56.7-11.4-77.3-32L207.2,259.7c-8.3-8.3-21.8-8.3-30.1,0c-8.3,8.3-8.3,21.8,0,30.1l216.3,216.3c28.7,28.7,66.9,44.5,107.4,44.5c40.2,0,78-15.5,106.6-43.7l304.4-246.1c0.6-0.5,1.2-1,1.8-1.6c28.2-28.6,37.8-60.7,26.3-88c-11.4-27.2-42-44.1-79.8-44.1h-19.3H174.1C88.2,127.2,10,201.2,10,282.5v424.7c0,83.6,81.3,165.6,164.1,165.6h686c85.2,0,129.8-83.3,129.8-165.6V361.5C990,349.8,980.5,340.2,968.7,340.2z"/></g>
						</svg>	
					</a>
					<a class="mui-tab-item" href="tab-webview-subpage-setting.html">
						 <!--<?xml version="1.0" encoding="utf-8"?>-->
	                    <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
	                    <!--<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
	                    <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	                         width="30" height="30" viewBox="0 0 49.833 49.83" enable-background="new 0 0 49.833 49.83" xml:space="preserve">
	                    <g>
	                        <path d="M24.849,34.195c9.442,0,17.097-7.655,17.097-17.098C41.946,7.655,34.291,0,24.849,0C15.406,0,7.751,7.655,7.751,17.097
	                            C7.751,26.54,15.406,34.195,24.849,34.195z M36.785,21.726c-1.857,4.784-6.496,8.184-11.936,8.184
	                            c-5.442,0-10.079-3.399-11.936-8.184H36.785z"fill="white"/>
	                        <path d="M34.691,35.492c-2.297,1.58-5.827,2.596-9.793,2.596c-3.961,0-7.488-1.013-9.785-2.588C7.484,37.642,1.664,43.068,0,49.778
	                            h49.833C48.167,43.061,42.333,37.628,34.691,35.492z"fill="white"/>
	                    </g>
	                    </svg>-->
	                   <?xml version="1.0" encoding="utf-8"?>
						<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
						<svg version="1.1" fill="white"  width="30" height="30" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
						<g><path d="M790.8,646.4l0-0.2l0.3-0.5l0.1,0.4L790.8,646.4z"/><path d="M760.6,631.2l0-0.2l0.3-0.5l0.1,0.3L760.6,631.2z"/><path d="M932.8,961.6c0,0,0-0.1,0-0.1c-0.2-192.9-126.7-356.3-301.3-411.9c91.6-47.6,154.3-143.3,154.3-253.7C785.8,138,657.9,10,500,10c-157.9,0-285.8,128-285.8,285.8c0,110.4,62.6,206.1,154.2,253.7c-174,55.5-300.2,217.9-301.3,410c0,0.2,0.1,2.5,0.1,2.5c1,14.8,13.2,26.6,28.2,26.6c15.1,0,27.5-11.8,28.5-26.6c0-207.6,168.3-376,376-376s376,168.3,376,376h0.1c0.2,15.5,12.8,28,28.4,28c15.6,0,28.2-12.5,28.4-28h0C932.8,961.9,932.8,961.8,932.8,961.6C932.8,961.6,932.8,961.6,932.8,961.6z M271.3,295.8c0-126.3,102.4-228.7,228.7-228.7s228.7,102.4,228.7,228.7c0,126.3-102.4,228.7-228.7,228.7C373.7,524.5,271.3,422.1,271.3,295.8z"/></g>
						</svg>					
					</a>
				</nav>
		</div>
		<div id="notifications_disturb" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav"></span>新消息通知
				</button>
				<h1 class="mui-center mui-title">功能消息免打扰</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<ul class="mui-table-view mui-table-view-radio">
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">开启</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">只在夜间开启</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">关闭</a>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>

		<div id="lock" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav"></span>设置
				</button>
				<h1 class="mui-center mui-title">锁屏图案</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-content-padded">
					<ul class="mui-table-view mui-table-view-chevron">
						<li class="mui-table-view-cell">
							使用手势解锁
							<div id="lockState" class="mui-switch">
								<div class="mui-switch-handle"></div>
							</div>
						</li>
					</ul>
					<div class="mui-locker" data-locker-width='320' data-locker-height='320' data-locker-options='{"ringColor":"rgba(221,221,221,1)","fillColor":"#ffffff","pointColor":"rgba(0,136,204,1)","lineColor":"rgba(0,136,204,1)"}'>
					</div>
				</div>
			</div>
		</div>

		<div id="feedback" class="mui-page feedback">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">
					<span>
						<?xml version="1.0" standalone="no"?>
						<svg width="44" height="44" viewBox="0 0 342 384" version="1.1" xmlns="http://www.w3.org/2000/svg">
						  <path d="M342 213v-42h-260l119 -120l-30 -30l-171 171l171 171l31 -30l-120 -120h260z" transform="matrix(1,0,0,-1,0,384)"/>
						</svg>
					</span>
				</button>
				<h1 class="mui-center mui-title">我的收藏</h1>
			</div>
			<div class="mui-page-content">
				<p>问题和意见</p>
				<div class="row mui-input-row">
					<textarea id='question' class="mui-input-clear question" placeholder="请详细描述你的问题和意见..."></textarea>
				</div>
				<p>图片(选填,提供问题截图)</p>
				<div id='image-list' class="row image-list">
				</div>
				<p>QQ/邮箱</p>
				<div class="mui-input-row">
					<input id='contact' type="text" class="mui-input-clear  contact" placeholder="(选填,方便我们联系你 )" />
				</div>
				<button id='submit' type="button" class="mui-btn mui-btn-green">提交</button>
			</div>
			<p>此示例基于环信 “WebIM SDK” + 环信 “移动客服” 实现，在环信 “移动客服面板” 能够查阅反馈信息。</p>
		</div>

	</body>
	<script src="../js/mui.min.js "></script>
	<script src="../js/mui.view.js "></script>
	<script src='../libs/easymob-webim-sdk/jquery-1.11.1.js'></script>
	<script src='../libs/easymob-webim-sdk/strophe-custom-2.0.0.js'></script>
	<script src='../libs/easymob-webim-sdk/json2.js'></script>
	<script src="../libs/easymob-webim-sdk/easemob.im-1.0.5.js"></script>
	<script src='../js/feedback.js'></script>
	<script src="../js/feedback-page.js"></script>
	<script src="../js/mui.locker.js"></script>
	<script src="../js/app.js"></script>
	<script src="../js/tab-main.js" type="text/javascript" charset="utf-8"></script>
	
	<script>
		mui.init();
		 //初始化单页view
		var viewApi = mui('#app').view({
			defaultPage: '#setting'
		});
		 //初始化单页的区域滚动
		mui('.mui-scroll-wrapper').scroll();
		 //分享操作 
		var shares = {};
		mui.plusReady(function() {
			plus.share.getServices(function(s) {
				if (s && s.length > 0) {
					for (var i = 0; i < s.length; i++) {
						var t = s[i];
						shares[t.id] = t;
					}
				}
			}, function() {
				console.log("获取分享服务列表失败");
			});
		});
		 //分享链接点击事件
//		document.getElementById("share").addEventListener('tap', function() {
//			var ids = [{
//					id: "weixin",
//					ex: "WXSceneSession"
//				}, {
//					id: "weixin",
//					ex: "WXSceneTimeline"
//				}, {
//					id: "sinaweibo"
//				}, {
//					id: "tencentweibo"
//				}, {
//					id: "qq"
//				}],
//				bts = [{
//					title: "发送给微信好友"
//				}, {
//					title: "分享到微信朋友圈"
//				}, {
//					title: "分享到新浪微博"
//				}, {
//					title: "分享到腾讯微博"
//				}, {
//					title: "分享到QQ"
//				}];
//			plus.nativeUI.actionSheet({
//				cancel: "取消",
//				buttons: bts
//			}, function(e) {
//				var i = e.index;
//				if (i > 0) {
//					var s_id = ids[i - 1].id;
//					var share = shares[s_id];
//					if (share.authenticated) {
//						shareMessage(share, ids[i - 1].ex);
//					} else {
//						share.authorize(function() {
//							shareMessage(share, ids[i - 1].ex);
//						}, function(e) {
//							console.log("认证授权失败：" + e.code + " - " + e.message);
//						});
//					}
//				}
//			});
//		});

		function shareMessage(share, ex) {
				var msg = {
					extra: {
						scene: ex
					}
				};
				msg.href = "http://www.dcloud.io/hellomui/";
				msg.title = "最接近原生APP体验的高性能前端框架";
				msg.content = "我正在体验HelloMUI，果然很流畅，基本看不出和原生App的差距";
				if (~share.id.indexOf('weibo')) {
					msg.content += "；体验地址：http://www.dcloud.io/hellomui/";
				}
				msg.thumbs = ["_www/images/logo.png"];
				share.send(msg, function() {
					console.log("分享到\"" + share.description + "\"成功！ ");
				}, function(e) {
					console.log("分享到\"" + share.description + "\"失败: " + e.code + " - " + e.message);
				});
			}
			//去评分
//		document.getElementById("rate").addEventListener('tap', function() {
//			if (mui.os.ios) {
//				location.href = 'https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=682211190&pageNumber=0&sortOrdering=2&type=&mt=8';
//			} else if (mui.os.android) {
//				plus.runtime.openURL("market://details?id=io.dcloud.HelloMUI", function(e) {
//					plus.runtime.openURL("market://details?id=io.dcloud.HelloMUI", function(e) {
//						mui.alert("360手机助手和应用宝，你一个都没装，暂时无法评分，感谢支持");
//					}, "com.qihoo.appstore");
//				}, "com.tencent.android.qqdownloader");
//			}
//		});
//		 //客服电话
//		document.getElementById("tel").addEventListener('tap', function() {
//			plus.device.dial("114");
//		});
		 //退出操作******************
//		document.getElementById('exit').addEventListener('tap', function() {
//			if (mui.os.ios) {
//				app.setState({});
//				mui.openWindow({
//					url: 'login.html',
//					id: 'login',
//					show: {
//						aniShow: 'pop-in'
//					},
//					waiting: {
//						autoShow: false
//					}
//				});
//				return;
//			}
//			var btnArray = [{
//				title: "注销当前账号"
//			}, {
//				title: "直接关闭应用"
//			}];
//			plus.nativeUI.actionSheet({
//				cancel: "取消",
//				buttons: btnArray
//			}, function(event) {
//				var index = event.index;
//				switch (index) {
//					case 1:
//						//注销账号
//						app.setState({});
//						/*
//						 * 注意：
//						 * 1、因本示例应用启动页就是登录页面，因此注册成功后，直接显示登录页即可；
//						 * 2、如果真实案例中，启动页不是登录页，则需修改，使用mui.openWindow打开真实的登录页面
//						 */
//						plus.webview.getLaunchWebview().show("pop-in");
						//若启动页不是登录页，则需通过如下方式打开登录页
//						mui.openWindow({
//							url: 'login.html',
//							id: 'login',
//							show: {
//								aniShow: 'pop-in'
//							}
//						});
//						break;
//					case 2:
//						plus.runtime.quit();
//						break;
//				}
//			});
//		}, false);
		 //************************
		 //锁屏设置
		(function($, doc) {
			//$.init();
			$.plusReady(function() {
				var settings = app.getSettings();
				var lockStateButton = doc.getElementById("lockState");
				var locker = doc.querySelector('.mui-locker');
				lockStateButton.classList[settings.gestures ? 'add' : 'remove']('mui-active')
				locker.style.display = settings.gestures ? 'block' : 'none';
				lockStateButton.addEventListener('toggle', function(event) {
					var isActive = event.detail.isActive;
					locker.style.display = isActive ? 'block' : 'none';
					if (!isActive) {
						//						alert(0);
						settings.gestures = '';
						app.setSettings(settings);
					}
				}, false);
				var record = [];
				locker.addEventListener('done', function(event) {
					var rs = event.detail;
					if (rs.points.length < 4) {
						plus.nativeUI.toast('设定的手势太简单了');
						record = [];
						rs.sender.clear();
						return;
					}
					record.push(rs.points.join(''));
					if (record.length >= 2) {
						if (record[0] == record[1]) {
							plus.nativeUI.toast('解锁手势设定成功，以后用户只需使用手势解锁而无需输入密码登录。');
							settings.gestures = record[0];
							settings.autoLogin = true;
							app.setSettings(settings);
							setTimeout(function() {
								$.back();
							}, 200);
						} else {
							plus.nativeUI.toast('两次手势不一致,请重新设定');
						}
						rs.sender.clear();
						record = [];
					} else {
						plus.nativeUI.toast('请确认手势设定');
						rs.sender.clear();
					}
				}, false);
			});
		}(mui, document));
		 //********************
		var view = viewApi.view;
		(function($) {
			//处理view的后退与webview后退
			var oldBack = $.back;
			$.back = function() {
				if (viewApi.canBack()) { //如果view可以后退，则执行view的后退
					viewApi.back();
				} else { //执行webview后退
					oldBack();
				}
			};
			//监听页面切换事件方案1,通过view元素监听所有页面切换事件，目前提供pageBeforeShow|pageShow|pageBeforeBack|pageBack四种事件(before事件为动画开始前触发)
			//第一个参数为事件名称，第二个参数为事件回调，其中e.detail.page为当前页面的html对象
			view.addEventListener('pageBeforeShow', function(e) {
				//				console.log(e.detail.page.id + ' beforeShow');
			});
			view.addEventListener('pageShow', function(e) {
				//进入手执设定界面时
				if (e.detail.page.id == 'lock') {
					var settings = app.getSettings();
					/*if (!settings.autoLogin) {
						plus.nativeUI.toast('当前没有启用 “自动登录”，需要在登录时启用 "自动登录"，设定的手势锁屏才会升效。');
					}*/
					var lockStateButton = document.getElementById("lockState");
					var locker = document.querySelector('.mui-locker');
					lockStateButton.classList[settings.gestures ? 'add' : 'remove']('mui-active')
					locker.style.display = settings.gestures ? 'block' : 'none';
				}
				//				console.log(e.detail.page.id + ' show');
			});
			view.addEventListener('pageBeforeBack', function(e) {
				//				console.log(e.detail.page.id + ' beforeBack');
			});
			view.addEventListener('pageBack', function(e) {
				//				console.log(e.detail.page.id + ' back');
			});
		})(mui);
	</script>

</html>
